<%@ page pageEncoding="UTF-8"%>
<c:import url="../../../template/layout.jsp" charEncoding="UTF-8">
  <c:param name="title" value="添加经纪人" />
  <c:param name="body">

    <div class="content-title">添加经纪人</div>

    <div align="left" style="width: 600px; margin-right: auto; margin-left: auto;">
      <div class="form-group">
        <label  class="col-sm-2 control-label"><span style="color:red;">*</span>用户名</label>
        <div class="col-sm-10">
          <input type="text" class="form-control" name="username" value="${user.username}" readonly>
        </div>
      </div>
      <div class="form-group">
        <label  class="col-sm-2 control-label"><span style="color:red;">*</span>手机</label>
        <div class="col-sm-10">
          <input type="text" class="form-control readOnly" name="mobile" value="${user.mobile}" readonly>
        </div>
      </div>
      <div class="form-group">
        <label  class="col-sm-2 control-label"><span style="color:red;">*</span>邮箱</label>
        <div class="col-sm-10">
          <input type="email" class="form-control" name="email" value="${user.email}" readonly>
        </div>
      </div>

      <div class="form-group">
        <label  class="col-sm-2 control-label"><span style="color:red;">*</span>真实姓名</label>
        <div class="col-sm-10">
          <input type="text" class="form-control" name="realName" value="${user.realName}" readonly>
        </div>
      </div>
    </div>
    <form name="agent" class="form-horizontal"  action="${pageContext.request.contextPath}/system/agent/add" method="post">
      <div align="left" style="width: 600px; margin-right: auto; margin-left: auto;">
        <div class="form-group">
          <input class="form-control" type="hidden" name="user_id" value="${user.id}"/>
        </div>
        <div class="form-group">
          <label class="control-label">头像</label>
          <image src="#"  name="icon"></image>
        </div>
        <div class="form-group">
          <label class="control-label">性别</label>
          <input type="radio"name="sex"  value="1" aria-selected="true"/>男
          <input type="radio" name="sex" value="0"/>女
        </div>
        <div class="form-group">
          <label for="description">描述</label>
          <input class="form-control" id="description" name="description" required/>
        </div>
        <div class="form-group">
          <label for="score">积分</label>
          <input class="form-control" id="score" name="score" required/>
        </div>

        <div class="form-group">
          <div class="col-sm-offset-2 col-sm-10">
            <input type="submit" value="提交" class="btn btn-primary" /> <input type="reset" value="重置"
                                                                              class="btn btn-default" />
          </div>
        </div>
      </div>
    </form>
  </c:param>
</c:import>
